package com.ruoyi.wms.domain.bo.employee;

import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import com.ruoyi.wms.domain.entity.employee.AttendancePunch;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 考勤记录业务对象 attendance_punch
 *
 * @author 邓滔滔
 * @date 2024-12-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AttendancePunch.class, reverseConvertGenerate = false)
public class AttendancePunchBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 员工
     */
    private Long employeeId;

    /**
     * 打卡类型（如：1=上班, 2=下班, 3=外出, 4=返回等）
     */
    private Integer punchType;

    /**
     * 定位信息（如经纬度或地址）
     */
    private String location;


}
